home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 67 / IOPROG_67A.ISO / soft / Tools / mwsppv4.exe / INSERT GETLISTTABLE.SCRIPT < prev    next >
Encoding:
Text File  |  2002-02-05  |  538 b   |  24 lines

  1. !!Script
  2. // Copyright ⌐ 1997-2002 - Modelworks Software
  3.  
  4. // Insert script helper for:
  5.  
  6. /**
  7. @Object: ListForm 
  8. @Method: getListTable()~returns the ListTable object in this form.
  9. @Syntax: listform.getListTable()
  10. @Summary: getListTable()~returns the ListTable object
  11. */
  12.  
  13. function DoCommand()
  14. {
  15.   var editor = getActiveEditor();
  16.   if (editor)
  17.   {
  18.     var selection = editor.getSelection();
  19.     editor.replace("listform.getListTable();", selection);
  20.     editor.setActive("Insert listform.getListTable");
  21.   }
  22. }
  23.  
  24. !!/Script